// 首页API - 使用后端真实请求
import { post } from '@/utils/request'

export default {
	async tab() {
		const res = await post('/api/home/tab', {})
		return res.data
	},
	async swiper() {
		const res = await post('/api/home/swiper', {})
		return res.data
	},
	async nav() {
		const res = await post('/api/home/nav', {})
		return res.data
	},
	async live() {
		const res = await post('/api/home/live', {})
		return res.data
	},
	async earn() {
		const res = await post('/api/home/earn', {})
		return res.data
	},
	async sellQuickly() {
		const res = await post('/api/home/sellQuickly', {})
		return res.data
	},
	async activity() {
		const res = await post('/api/home/activity', {})
		return res.data
	},
	async goodsTab() {
		const res = await post('/api/home/goodsTab', {})
		return res.data
	},
	async recommend() {
		const res = await post('/api/home/recommend', {})
		return res.data
	},
	async liveData() {
		const res = await post('/api/home/liveData', {})
		return res.data
	},
	async videoData() {
		const res = await post('/api/home/videoData', {})
		return res.data
	},
	async gridSortData() {
		const res = await post('/api/home/gridSortData', {})
		return res.data
	}
};
